//
//  User.h
//  leo
//
//  Created by 常艳 on 15/8/26.
//  Copyright (c) 2015年 mdx. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject
{
    NSString *uid;
    NSString *account;
    NSString *password;
    NSString *accessToken;
    NSString *createTime;
    NSString *refreshToken;
    BOOL is_active;
    int type;
}
@property (nonatomic,strong) NSString * uid;
@property (nonatomic,strong) NSString *accessToken;
@property (nonatomic,strong) NSString *createTime;
@property (nonatomic,strong) NSString *refreshToken;
@property (nonatomic,strong) NSString *account;
@property (nonatomic,strong) NSString *password;
@property (nonatomic,strong) NSString *nickName;
@property (nonatomic) BOOL is_active;
@property (nonatomic) int type;
@property(nonatomic) int age;
@property(nonatomic,strong) NSString *address;
@property(nonatomic,strong) NSString *email;
@property(nonatomic,strong) NSString *photoName;
@property(nonatomic,strong) NSString *birth;//生日
@property(nonatomic,strong) NSString *photoHash;//头像哈希值，UI忽略
@property(nonatomic,strong) NSString *pic_url;//头像本地存放路径
@property(nonatomic,strong) NSString *full_url;
+(User *)sharedSingleton;
+(void)logout;
@end
